/**
 * 主页查询商品
 * @param data
 * @returns {*}
 */
function indexListApi() {
    return $axios({
        'url': '/goods/list',
        'method': 'get',
    })
}

function indexPageApi() {
    return $axios({
        url: '/goods/indexList',
        method: 'get',
    });
}


const searchListApi = (params) => {
    return $axios({
        url: '/goods/search',
        method: 'get',
        params
    })
}